﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _01.LeapOrNotLeapYear
{
    class RandomNumbers
    {

        static void Main()
        {
            Console.WriteLine("Insert an year you would like to see if its leap");
            int year = int.Parse(Console.ReadLine());
            if (DateTime.IsLeapYear(year))
            {
                Console.WriteLine("The year {0} is leap", year);
            }
            else
            {
                Console.WriteLine("The year {0} is not leap", year);
            }

        }
    }
}
